<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\LinkPager;
use yii\helpers\Url;
Yii::$app->view->params['page']['page_title'] = '消息中心';

?>



  <div class="content-wrap positionr">
   </div>
<div class="countCenter aboutUs">

  <div class="mcCont mcgCont">
   
    
      <div class="right aboutCont announceDetail">
        <div class="aboutTxt">
        <?php
        //var_dump($model);
            if($model):
            ?>
          <!-- <h1 class="tt"><a href="" class="btn-small-default right moreBtn">更多</a></h1> -->
          <div class="txt">
            <h1 class="tt1"><?php echo substr(Html::encode($model->content),0,20)?></h1>
            <p class="time"> <?= $model->create_time;?></p>
            <p class="txt1"></p>
            <div class="img7"><?php
               if ($model->content) {
                    echo Html::decode($model->content);
                    //<hr>
                    //';
                }
                ?></div>
           
            <?php
            else:
                echo '没有找到合适内容';
            endif;
            ?>

          </div>
         
        </div>
      </div>
    </div>
  </div>


</div>


</div>
</body>
</html>

